package com.tiyo.app.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.tiyo.common.core.domain.AjaxResult;

@RequestMapping("/app/login")
@Controller
public class AppLoginController {
	@PostMapping("/doLogin")
	@ResponseBody
	public AjaxResult doLogin(String userName,String password) {
		return AjaxResult.success(userName+"登录成功");
	}
}
